class Foo { async bar(promise) { await promise } }